package rsvp.util.referencing;

/**
 * This class is created to be able to pass as reference an integer value
 * @author Kuki Szabolcs @data 2002-01-01
 */
public class LongReference
{
    /**
     * The integer value which is passed as reference
     */
    public long value = 0;

    /**
     * Contains any additional properties.<br>
     * This class does not make any changes to it.
     * Only the constructor initialize it.
     */
    public Object m_objAditionalProperty = null;

    /**
     * Default constructor intValue = 0;
     */
    public LongReference()
    {
        value = 0;
    }

    /**
     * When constructed it will init the integer value to a user specified value
     * @param inputValue
     */
    public LongReference(long inputValue)
    {
        value = inputValue;
    }

    /**
     * When constructed with additional property
     * @param inputValue
     * @param objAditionalProperty
     */
    public LongReference(long inputValue, Object objAditionalProperty)
    {
        this.value = inputValue;
        this.m_objAditionalProperty = objAditionalProperty;
    }
}
